package Dao;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import Bean.joinHadoopBean;

public class AreaGenderDao extends SqlMapClientDaoSupport{
	public int areaSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("seoulgenderSequence");
	}
	
	public int gwangjuSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("gwangjugenderSequence");
	}
	
	public int junradoSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("junradogenderSequence");
	}
	
	public int choongchungdoSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("choongchungdogenderSequence");
	}
	
	public int degooSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("degoogenderSequence");
	}
	
	public int dejunSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("dejungenderSequence");
	}
	
	public int jejooSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("jejoogenderSequence");
	}
	
	public int kwangwondoSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("kwangwondogenderSequence");
	}
	
	public int kunggiSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("kunggigenderSequence");
	}
	
	public int kungsangdoSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("kungsangdogenderSequence");
	}
	
	public int sejongSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("sejonggenderSequence");
	}
	
	public int woolsanSequence(){
		return (int)getSqlMapClientTemplate().queryForObject("woolsangenderSequence");
	}
	
	
	public List<joinHadoopBean> seoulgender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("seoulgender", ka_no);
	}
	
	public List<joinHadoopBean> gwangjugender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("gwangjugender", ka_no);
	}
	
	public List<joinHadoopBean> junradogender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("junradogender", ka_no);
	}
	
	public List<joinHadoopBean> choongchungdogender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("choongchungdogender", ka_no);
	}
	public List<joinHadoopBean> degoogender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("degoogender", ka_no);
	}
	
	public List<joinHadoopBean> dejungender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("dejungender", ka_no);
	}
	
	public List<joinHadoopBean> jejoogender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("jejoogender", ka_no);
	}
	
	public List<joinHadoopBean> kwangwondogender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("kwangwondogender", ka_no);
	}
	
	public List<joinHadoopBean> kunggigender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("kunggigender", ka_no);
	}
	
	public List<joinHadoopBean> kungsangdogender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("kungsangdogender", ka_no);
	}
	
	public List<joinHadoopBean> sejonggender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("sejonggender", ka_no);
	}
	
	public List<joinHadoopBean> woolsangender(Integer ka_no){
		return (List<joinHadoopBean>)getSqlMapClientTemplate().queryForList("woolsangender", ka_no);
	}
}


